<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" isELIgnored="false" %>
<%@ include file="/views/common/resources.jsp" %>  
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> 
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";
%>      
<!DOCTYPE html>
<html>
<head>
 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<%=basePath %>resources/js/common/plugin/dhtmlxGrid/dhtmlxgrid.css"  rel="stylesheet" type="text/css"/>
	<link href="<%=basePath%>resources/js/common/plugin/easyui/themes/default/easyui.css" rel="stylesheet"/>
    <link href="<%=basePath %>resources/js/common/plugin/My97DatePicker/skin/WdatePicker.css" rel="stylesheet">
	<link href="<%=basePath %>resources/css/common.css" rel="stylesheet">
    <link href="<%=basePath %>resources/css/style.css" rel="stylesheet">
    <link href="<%=basePath %>resources/css/report.css" rel="stylesheet">
    <script src="<%=basePath %>resources/js/common/plugin/echarts/echarts.min.js"></script>
    <script src="<%=basePath %>resources/js/common/plugin/My97DatePicker/WdatePicker.js"></script>
    <script src="<%=basePath%>resources/js/common/plugin/easyui/jquery.easyui.min.js"></script>
	<script src="<%=basePath%>resources/js/common/plugin/easyui/locale/easyui-lang-zh_CN.js"></script>
	<script src="<%=basePath %>resources/js/common/plugin/dhtmlxGrid/dhtmlxgrid.js"></script>
<title>业户月报</title>
<style>
	.night-chart-list{
		height:300px;
	}
	#inputStartDate,#inputEndDate{
		margin-left:0;
	}
	#queryBtn{
		margin-right:20px;
	}
</style>
</head>
<script type="text/javascript">
var appCtx="<%=basePath%>";
var flag ='${flag}';
</script>
<body class="driving">
<div class="page">
	<div class="slider pa clearfix">
        <%@ include file="/views/common/menu.jsp" %> 
    </div>
    <div class="main ">
        <%@ include file="/views/common/top.jsp" %>
        <div class="content pr" style="margin-top:-45px;clear:both;">
		   <div class="querys fl clearfix" style="margin-left: 0px;width: 100%;margin-top:10px">
				<div class="clearfix fl">
			        <ul class="clearfix fl">
						<li class="fl clearfix mt10" style='margin-right:15px'>
							<select class="query-select" id="queryArea"></select>
						</li>
			        	<li class="fl clearfix mt10">
				            <input type="text" id="inputDate" class="query-input fl Wdate Time_input" style="border-color:#dedede"  
				            onclick="WdatePicker({dateFmt:'yyyy-MM',maxDate:'%y-{%M-1}'})">
			       		</li>
			        	<li class="fl clearfix mt10">
			        		<a class="userBtn" href="javascript:;" style="margin-left:80px;" id="queryBtn" >查询</a>
			        	</li>
			        	<li class="fl clearfix mt10">
			        		<a class="userBtn" href="javascript:;" style="margin-left:0;" id="exportExcel">生成月报</a>
			        	</li>
			    	</ul>
			    </div>
		    </div>
		    <div class="tabsHead">
	      			<ul class="clearfix">
	      			<li class="fl active" id="AL" ><div class="overFloeHidden">整体分析</div><a class="closeTab pa db"  href="javascript:;"></a></li>
	      			<li class="fl" id="QC" ><div class="overFloeHidden">业户考核</div><a class="closeTab pa db"  href="javascript:;"></a></li></ul>
	         		</div>
			<div class="menuCont" id="menuContAL" style="display: block;width:100%;">
				<div class="page">
			        <div class="clearfix" >
						<div class="fl night-chart-list chart-line" style="width:50%;">
							<div class="detail-report" >
								<div id="objTable1" style="width:100%;height:270px;"></div>
							</div>
						</div>
			         	<div class="fr night-chart-list chart-line" style="width:50%;">
			       		    <div class="fl night-chart-list chart-bar" style="width:100%;" >
			                	<div id="objTable2" style="width:100%;height:270px;"></div>
			                </div>
			          	</div>
			        </div>
			        <div class="clearfix">
			           <div class="fl night-chart-list chart-line" style="width:50%;" >
			         	   <div class="detail-report" >
								<div  id="objTable3" style="width:100%;height:270px;"></div>
			       		   </div>
			           </div>
			           <div class="fl night-chart-list chart-line" style="width:50%;" >
			         	   <div class="detail-report" >
								<div  id="objTable4" style="width:100%;height:270px;"></div>
			       		   </div>
			           </div>
			        </div>
			        <div class="clearfix">
			           <div class="fl night-chart-list chart-line" style="width:50%;">
			         	   <div class="detail-report" >
								<div  id="objTable5" style="width:100%;height:270px;"></div>
			       		   </div>
			           </div>
			           <div class="fl night-chart-list chart-line" style="width:50%;">
			         	   <div class="detail-report" >
								<div  id="objTable6" style="width:100%;height:270px;"></div>
			       		   </div>
			           </div>
			        </div>
				</div>
			</div>
			<div class="menuCont" id="menuContQC" style="display: none;width:100%;">
				<div class="page" >
			        <div class="clearfix" >
			           <div class="span8 night-chart-list chart-line" style="width:100%;margin-left:0px;" >
			         	   <div class="detail-report" style="margin-top:20px;width:100%;">
								<div id="monitorList" style="width:100%;margin-bottom: 20px;"></div>
			       		   </div>
			           </div>
			        </div>
				</div>
			</div>
        </div>
    </div>
</div>
<%--导出数据弹窗--%>
<div id="exportModal" class="modal hide fade" data-backdrop="static" style="left: 51%; width:600px;top: 52%;  margin-top: -89.5px;" aria-hidden="false" tabindex="-1" data-backdrop="static">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
		<h4 id="exportTitle">生成业户月（Word文档）</h4>
	</div>
	<div class="modal-body" style="font-size: 13px;vertical-align: middle; text-align: center;">
		<span>确认生成？</span>
	</div>
	<div class="modal-footer">
	     <button class="btn " data-dismiss="modal" aria-hidden="true">关闭</button>
	     <button class="btn btn-ecColor" id="confirmExport" name="confirmExport">生成</button> 
    </div>
</div>
<script src="<%=basePath %>resources/js/common/main/global.js"></script>
<script src="<%=basePath %>resources/js/common/main/nav.js"></script>
<script src="<%=basePath %>resources/js/common/util/common.js"></script>
<script src="<%=basePath %>resources/js/business/report/enterpriseStatistics.js"></script>
</body>
</html>